<?php $this->Yy->addCss('/css/adminlogin/index.css');?>
<?php $this->Yy->addJs('/js/adminlogin/index.js'); ?>
<div class="login">

	<!-- <img src="/image/admin/bg11.png" alt=""> -->
	
	<div class="box">
		<p>韵瑶后台管理系统2018版</p>
		<div class="sub">
			<form method='post' action='/adminlogin/index' class="dataForm">
				<input type="text" value="" id="username" name='username' placeholder="账号">
				<input type="password" value="" name='password' id="password" placeholder="密码">
				<button type="submit">Go</button>
			</form>
		</div>
	</div>
	<!-- <?php if(!empty($error)): ?>
        <div class="alert alert-danger" role="alert">
            <div > <?= $error; ?></div>
        </div>
	<?php endif; ?> -->
</div>
<script>
//超时弹出
$(function () {  
	$('.alert').click(function(){$(this).fadeOut(10);})
    setTimeout(function () {  
        $('.alert').fadeOut('slow');
    },2000);      
});
</script>